﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LED_Tester
{
    public partial class frmThetaSample : Form
    {
        public frmThetaSample()
        {
            InitializeComponent();
        }

        private double thetaSample;


        public double ThetaSample
        {
            get { return thetaSample; }
            set { thetaSample = value; }
        }

        private void frmThetaSample_Load(object sender, EventArgs e)
        {
            comboBox1.SelectedIndex = 2 ;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            thetaSample = double.Parse(comboBox1.SelectedItem.ToString());
        }

        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
        }
    }
}
